@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Tahoma', Tahoma;
}
body {
  background-image: url("side.jpeg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
}

.main_box .sidebar_menu{
  position: fixed;
  height: 100vh;
  width: 280px;
  left: -280px;
  background: rgba(0, 0, 0, 0.535);
  box-shadow: 0px 0px 6px rgba(29, 29, 29, 0.322);
  overflow: hidden;
  transition: all 0.3s linear;
}
.sidebar_menu .logo{
  position: absolute;
  width: 100%;
  height: 60px;
  box-shadow: 0px 2px 4px rgba(255, 255, 255, 0.5);
}
.sidebar_menu .logo a{
  color: #fff;
  font-size: 25px;
  font-weight: 500;
  position: absolute;
  left: 10px;
  line-height: 60px;
  text-decoration: none;
}
.sidebar_menu .menu{
  position: absolute;
  top: 80px;
  width:100%;
}
.sidebar_menu .menu li{
  margin-top: 6px;
  padding: 14px 20px;
}
.sidebar_menu .menu i{
  color: #fff;
  font-size: 20px;
  padding-right: 8px;
}
.sidebar_menu .menu a{
  color: #fff;
  font-size: 20px;
  text-decoration: none;
}
.sidebar_menu .menu li:hover{
  border-left: 1px solid #fff;
  box-shadow: 0 0 4px rgba(255, 255, 255, 0.5);
}
.sidebar_menu .social_media{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 20px;
  list-style: none;
  cursor: pointer;
}
.sidebar_menu .social_media i{
  text-decoration: none;
  padding: 0 5px;
  color: #fff;
  opacity: 0.6;
  font-size: 20px;
}
.sidebar_menu .social_media i:hover{
  opacity: 1;
  transition: all 0.2s linear;
  transform: scale(1.01);
}
#check{
  display: none;
}
.main_box .btn_one i{
  color: #fff;
  font-size: 30px;
  font-weight: 700;
  position: absolute;
  left: 16px;
  line-height: 60px;
  cursor: pointer;
  opacity: 1;
  transition: all 0.3s linear;  
}
 .sidebar_menu .btn_two i{
  font-size: 25px;
  line-height: 60px;
  position: absolute;
  left: 240px;
  cursor: pointer;
  opacity: 0;
  transition: all 0.3s linear;
}
.btn_one i:hover{
  font-size: 29px;
}
.btn_two i:hover{
  font-size: 24px;
}
#check:checked ~ .sidebar_menu{
  left: 0;
}
#check:checked ~ .btn_one i{
  opacity: 0;
}
#check:checked ~ .sidebar_menu .btn_two i{
  opacity: 1;
}
.element_head {
  width: auto;
  height: auto;
  border-top-right-radius: 80px;
  border-bottom-left-radius: 80px;
  background-color: rgba(45, 162, 39, 0.737);
  margin-left: auto;
  margin-right: auto;
  line-height: 50px;
  box-shadow: 0 0 20px #444;
  vertical-align: middle;
}

.parentH {
  display: flex;
  justify-content: center;
}

.childH {
  font-family: 'Tahoma', monospace;
  font-weight: 1000;
  font-size: 40px;
}

.element_text { 
  width: 85%; /* Изменено с 80% на 95% */
  height: auto;
  border-radius: 15px;
  background-color: rgba(255, 189, 76, 0.734);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  margin-left: auto;
  margin-right: auto;
  line-height: 50px;
  box-shadow: 0 0 20px #444;
  
}

.parent {
  display: flex;
  justify-content: center;
  text-indent: 2em;
  padding-left: 10px; /* Отступ слева */
  padding-right: 10px; /* Отступ справа */
}

.imgk {
  width: 35%;
  margin: 0 auto; /* Добавлено для центрирования */
  display: block;
  border-radius: 20px;
  box-shadow: 0 0 20px #444;

}

.child {
  font-family: 'Tahoma', monospace;
  line-height: 1.8;
  font-size: 20px;
  font-weight: bold;
}